package com.coder4j.log.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import java.util.Date;
import lombok.Data;

/**
 * 系统错误日志 Excel导出对象
 * @author keller
 * @date 2024-05-07 18:18:57
 */
@Data
public class ErrorLogEO{

    @ExcelProperty(value = "ID")
    @ColumnWidth(25)
    private Long id;

    @ExcelProperty(value = "错误类型")
    @ColumnWidth(25)
    private String errorClass;

    @ExcelProperty(value = "错误信息")
    @ColumnWidth(25)
    private String message;

    @ExcelProperty(value = "报错类名")
    @ColumnWidth(25)
    private String sourceClass;

    @ExcelProperty(value = "报错方法")
    @ColumnWidth(25)
    private String sourceMethod;

    @ExcelProperty(value = "错误行")
    @ColumnWidth(25)
    private Integer sourceLine;

    @ExcelProperty(value = "堆栈")
    @ColumnWidth(25)
    private String stackTrace;

    @ExcelProperty(value = "创建时间")
    @ColumnWidth(25)
    private Date createTime;

    @ExcelProperty(value = "创建人ID")
    @ColumnWidth(25)
    private Long createId;

    @ExcelProperty(value = "创建人名称")
    @ColumnWidth(25)
    private String createName;

    @ExcelProperty(value = "修改时间")
    @ColumnWidth(25)
    private Date updateTime;

    @ExcelProperty(value = "修改人ID")
    @ColumnWidth(25)
    private Long updateId;

    @ExcelProperty(value = "修改人名称")
    @ColumnWidth(25)
    private String updateName;


}
